import {post,get} from "./commAjax.js";

export default{
    /*
        星座匹配
        key=xxxxx&
        men=%E7%99%BD%E7%BE%8A&
        women=%E9%87%91%E7%8
    */
    xzpdQuery:params=>get("/Ajax/xzpd/query",Object.assign({},params,{key:"d5abca72c16ad7b62075a54bedee6f70"})),

    /**
     * 运势查询
     * http://web.juhe.cn/constellation/getAll?
     * consName=%E7%8B%AE%E5%AD%90%E5%BA%A7&type=today&key=申请的KEY
     */
    // getAll:(params={})=> get("http://web.juhe.cn/constellation/getAll",Object.assign({},params,{type:tsConditionalType,key:"a8f633ba493b00a18d0859e962254917"})),

    getAll:(params={})=>get("/api/constellation/getAll",Object.assign({},params,{type:"today",key:"a8f633ba493b00a18d0859e962254917"}))
  
}